Skip to content

Conversation

markuspf
Copy link

@markuspf markuspf commented Dec 9, 2017

This PR does two things (which I could split into 2 PRs if requested):

  • Add the IsMutable filter to sparse matrices. They were always mutable, because SetEntry worked on them. MakeImmutable now works, but we're missing MutableCopyMat.
  • Add methods that allow sparsemat[i,j] and sparsemat[i,j] := 4 access for sparse matrices.

For the assignment to work, sparse matrices have to be mutable
(which they always were: one could call SetEntry on them
without problems).

There is scope to make immutable variants of these matrices in the
future.
@mohamed-barakat
Copy link
Member

Your first commit breaks the package PrimaryDecomposition. I need to investigate.

@mohamed-barakat
Copy link
Member

@markuspf: Let us please talk about this PR this week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants